<html>
	<head>
		<meta charset="utf-8"></meta>
		<title>BSonNode</title>
		<link href="./style.css" rel="stylesheet" type="text/css"/>
	</head>
	<body>
		<div class="class" name="BSonNode">
			<h1>BSonNode</h1>
			<p>继承自<a href="BObject.html">BObject</a></p>
			<p id="resume"><a href="#desc">详细</a></p>
			<h2>public</h2>
			<table id="public">
				<tr><td align="right"></td><td><a href="#BSonNode(BSonNode*)">BSonNode</a>(BSonNode* parent = 0);</td></tr>
				<tr><td align="right"></td><td><a href="#BSonNode(const BString&,BSonNode*)">BSonNode</a>(const BString& name, BSonNode* parent = 0);</td></tr>
				<tr><td align="right"></td><td><a href="#~BSonNode()">~BSonNode</a>();</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#setFormat(const BString&)">setFormat</a>(const BString& format);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#format()">format</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#appendText(const BString&)">appendText</a>(const BString& text);</td></tr>
				<tr><td align="right">void </td><td><a href="#prependText(const BString&)">prependText</a>(const BString& text);</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#setText(const BString&)">setText</a>(const BString& text);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#text()">text</a>() const;</td></tr>
				<tr><td align="right">void </td><td><a href="#setAttribMap(const, BString>&)">setAttribMap</a>(const BMap<BString, BString>& attribMap);</td></tr>
				<tr><td align="right">const BMap<BString, BString>& </td><td><a href="#attribMap()">attribMap</a>() const;</td></tr>
				<tr><td align="right">virtual bool </td><td><a href="#setAttrib(const BString&, const BString&)">setAttrib</a>(const BString& name, const BString& value);</td></tr>
				<tr><td align="right">const BString& </td><td><a href="#attrib(const BString&)">attrib</a>(const BString& name) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#containAttrib(const BString&)">containAttrib</a>(const BString& name) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeAttrib(const BString&)">removeAttrib</a>(const BString& name);</td></tr>
				<tr><td align="right">void </td><td><a href="#clearAttribs()">clearAttribs</a>();</td></tr>
				<tr><td align="right">const BSonDocument* </td><td><a href="#document()">document</a>() const;</td></tr>
				<tr><td align="right">BSonDocument* </td><td><a href="#document()">document</a>();</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#root()">root</a>() const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#root()">root</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#setParent(BSonNode*)">setParent</a>(BSonNode* parent);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#parent()">parent</a>();</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#parent()">parent</a>() const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#parent(const BString&)">parent</a>(const BString& name);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#parent(const BString&)">parent</a>(const BString& name) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#addText(const BString&)">addText</a>(const BString& text);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#addChild(const BString&,const BString&)">addChild</a>(const BString& name, const BString& text = BString());</td></tr>
				<tr><td align="right">bool </td><td><a href="#addChild(BSonNode*)">addChild</a>(BSonNode* child);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#insertText(int, const BString&)">insertText</a>(int pos, const BString& text);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#insertChild(int, const BString&,const BString&)">insertChild</a>(int pos, const BString& name, const BString& text = BString());</td></tr>
				<tr><td align="right">bool </td><td><a href="#insertChild(int, BSonNode*)">insertChild</a>(int pos, BSonNode* child);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeChild(int)">removeChild</a>(int pos);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeChild(const BString&)">removeChild</a>(const BString& name);</td></tr>
				<tr><td align="right">bool </td><td><a href="#removeChild(BSonNode*)">removeChild</a>(BSonNode* child);</td></tr>
				<tr><td align="right">int </td><td><a href="#childCount()">childCount</a>() const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#child(int)">child</a>(int index);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#child(int)">child</a>(int index) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#child(const BString&)">child</a>(const BString& desc);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#child(const BString&)">child</a>(const BString& desc) const;</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#find(const BString&)">find</a>(const BString& desc);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#find(const BString&)">find</a>(const BString& desc) const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#empty()">empty</a>() const;</td></tr>
				<tr><td align="right">int </td><td><a href="#level()">level</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#setIndex(int)">setIndex</a>(int index);</td></tr>
				<tr><td align="right">int </td><td><a href="#index()">index</a>() const;</td></tr>
				<tr><td align="right">bool </td><td><a href="#raise()">raise</a>();</td></tr>
				<tr><td align="right">bool </td><td><a href="#lower()">lower</a>();</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#prev()">prev</a>();</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#next()">next</a>();</td></tr>
				<tr><td align="right">void </td><td><a href="#remove(BSonNode*)">remove</a>(BSonNode* child);</td></tr>
				<tr><td align="right">void </td><td><a href="#remove(const BString&)">remove</a>(const BString& desc);</td></tr>
				<tr><td align="right">void </td><td><a href="#clear()">clear</a>();</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#create(const BString&)">create</a>(const BString& path);</td></tr>
				<tr><td align="right">BSonNode* </td><td><a href="#locate(const BString&)">locate</a>(const BString& desc);</td></tr>
				<tr><td align="right">const BSonNode* </td><td><a href="#locate(const BString&)">locate</a>(const BString& desc) const;</td></tr>
			</table>
			<div id="desc">
				<h2>详细介绍：</h2>
			</div>
			<h2 id="docs">成员文档：</h2>
			<div id="BSonNode(BSonNode*)">
				<h3>BSonNode(BSonNode* parent = 0);</h3>
			</div>
			<div id="BSonNode(const BString&,BSonNode*)">
				<h3>BSonNode(const BString&amp; name, BSonNode* parent = 0);</h3>
			</div>
			<div id="~BSonNode()">
				<h3>~BSonNode();</h3>
			</div>
			<div id="setFormat(const BString&)">
				<h3>virtual bool setFormat(const BString&amp; format);</h3>
			</div>
			<div id="format()">
				<h3>const BString&amp; format() const;</h3>
			</div>
			<div id="appendText(const BString&)">
				<h3>void appendText(const BString&amp; text);</h3>
			</div>
			<div id="prependText(const BString&)">
				<h3>void prependText(const BString&amp; text);</h3>
			</div>
			<div id="setText(const BString&)">
				<h3>virtual bool setText(const BString&amp; text);</h3>
			</div>
			<div id="text()">
				<h3>const BString&amp; text() const;</h3>
			</div>
			<div id="setAttribMap(const, BString>&)">
				<h3>void setAttribMap(const BMap&lt;BString, BString&gt;&amp; attribMap);</h3>
			</div>
			<div id="attribMap()">
				<h3>const BMap&lt;BString, BString&gt;&amp; attribMap() const;</h3>
			</div>
			<div id="setAttrib(const BString&, const BString&)">
				<h3>virtual bool setAttrib(const BString&amp; name, const BString&amp; value);</h3>
			</div>
			<div id="attrib(const BString&)">
				<h3>const BString&amp; attrib(const BString&amp; name) const;</h3>
			</div>
			<div id="containAttrib(const BString&)">
				<h3>bool containAttrib(const BString&amp; name) const;</h3>
			</div>
			<div id="removeAttrib(const BString&)">
				<h3>bool removeAttrib(const BString&amp; name);</h3>
			</div>
			<div id="clearAttribs()">
				<h3>void clearAttribs();</h3>
			</div>
			<div id="document()">
				<h3>const BSonDocument* document() const;</h3>
			</div>
			<div id="document()">
				<h3>BSonDocument* document();</h3>
			</div>
			<div id="root()">
				<h3>const BSonNode* root() const;</h3>
			</div>
			<div id="root()">
				<h3>BSonNode* root();</h3>
			</div>
			<div id="setParent(BSonNode*)">
				<h3>void setParent(BSonNode* parent);</h3>
			</div>
			<div id="parent()">
				<h3>BSonNode* parent();</h3>
			</div>
			<div id="parent()">
				<h3>const BSonNode* parent() const;</h3>
			</div>
			<div id="parent(const BString&)">
				<h3>BSonNode* parent(const BString&amp; name);</h3>
			</div>
			<div id="parent(const BString&)">
				<h3>const BSonNode* parent(const BString&amp; name) const;</h3>
			</div>
			<div id="addText(const BString&)">
				<h3>BSonNode* addText(const BString&amp; text);</h3>
			</div>
			<div id="addChild(const BString&,const BString&)">
				<h3>BSonNode* addChild(const BString&amp; name, const BString&amp; text = BString());</h3>
			</div>
			<div id="addChild(BSonNode*)">
				<h3>bool addChild(BSonNode* child);</h3>
			</div>
			<div id="insertText(int, const BString&)">
				<h3>BSonNode* insertText(int pos, const BString&amp; text);</h3>
			</div>
			<div id="insertChild(int, const BString&,const BString&)">
				<h3>BSonNode* insertChild(int pos, const BString&amp; name, const BString&amp; text = BString());</h3>
			</div>
			<div id="insertChild(int, BSonNode*)">
				<h3>bool insertChild(int pos, BSonNode* child);</h3>
			</div>
			<div id="removeChild(int)">
				<h3>bool removeChild(int pos);</h3>
			</div>
			<div id="removeChild(const BString&)">
				<h3>bool removeChild(const BString&amp; name);</h3>
			</div>
			<div id="removeChild(BSonNode*)">
				<h3>bool removeChild(BSonNode* child);</h3>
			</div>
			<div id="childCount()">
				<h3>int childCount() const;</h3>
			</div>
			<div id="child(int)">
				<h3>BSonNode* child(int index);</h3>
			</div>
			<div id="child(int)">
				<h3>const BSonNode* child(int index) const;</h3>
			</div>
			<div id="child(const BString&)">
				<h3>BSonNode* child(const BString&amp; desc);</h3>
			</div>
			<div id="child(const BString&)">
				<h3>const BSonNode* child(const BString&amp; desc) const;</h3>
			</div>
			<div id="find(const BString&)">
				<h3>BSonNode* find(const BString&amp; desc);</h3>
			</div>
			<div id="find(const BString&)">
				<h3>const BSonNode* find(const BString&amp; desc) const;</h3>
			</div>
			<div id="empty()">
				<h3>bool empty() const;</h3>
			</div>
			<div id="level()">
				<h3>int level() const;</h3>
			</div>
			<div id="setIndex(int)">
				<h3>bool setIndex(int index);</h3>
			</div>
			<div id="index()">
				<h3>int index() const;</h3>
			</div>
			<div id="raise()">
				<h3>bool raise();</h3>
			</div>
			<div id="lower()">
				<h3>bool lower();</h3>
			</div>
			<div id="prev()">
				<h3>BSonNode* prev();</h3>
			</div>
			<div id="next()">
				<h3>BSonNode* next();</h3>
			</div>
			<div id="remove(BSonNode*)">
				<h3>void remove(BSonNode* child);</h3>
			</div>
			<div id="remove(const BString&)">
				<h3>void remove(const BString&amp; desc);</h3>
			</div>
			<div id="clear()">
				<h3>void clear();</h3>
			</div>
			<div id="create(const BString&)">
				<h3>BSonNode* create(const BString&amp; path);</h3>
			</div>
			<div id="locate(const BString&)">
				<h3>BSonNode* locate(const BString&amp; desc);</h3>
			</div>
			<div id="locate(const BString&)">
				<h3>const BSonNode* locate(const BString&amp; desc) const;</h3>
			</div>
		</div>
	</body>
</html>